package com.zf.shuashua.bean;


import android.os.Parcel;
import android.os.Parcelable;

public class VerifyCode1 implements Parcelable {

    private boolean status;
    private String message;

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeByte(this.status ? (byte) 1 : (byte) 0);
        dest.writeString(this.message);
    }

    public VerifyCode1() {
    }

    protected VerifyCode1(Parcel in) {
        this.status = in.readByte() != 0;
        this.message = in.readString();
    }

    public static final Creator<VerifyCode1> CREATOR = new Creator<VerifyCode1>() {
        @Override
        public VerifyCode1 createFromParcel(Parcel source) {
            return new VerifyCode1(source);
        }

        @Override
        public VerifyCode1[] newArray(int size) {
            return new VerifyCode1[size];
        }
    };
}
